﻿<?xml version="1.0" encoding="utf-8" ?>

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Name="ArrowWebParts" Path="dwp" List="113" Url="_catalogs/wp" RootWebOnly="true">
    <File Url="Dashboard.webpart" Type="GhostableInLibrary" >
      <Property Name="Group" Value="Windward Web Parts"/>
    </File>
    <File Url="DashboardController.webpart" Type="GhostableInLibrary" >
      <Property Name="Group" Value="Windward Web Parts"/>
    </File>
    <File Url="DashboardWidget.webpart" Type="GhostableInLibrary" >
      <Property Name="Group" Value="Windward Web Parts"/>
    </File>
    <File Url="DataDefinition.webpart" Type="GhostableInLibrary" >
      <Property Name="Group" Value="Windward Web Parts"/>
    </File>
    <File Url="ReportDefinition.webpart" Type="GhostableInLibrary" >
      <Property Name="Group" Value="Windward Web Parts"/>
    </File>
    <File Url="ReportGenerator.webpart" Type="GhostableInLibrary" >
      <Property Name="Group" Value="Windward Web Parts"/>
    </File>
    <File Url="Scheduler.webpart" Type="GhostableInLibrary" >
      <Property Name="Group" Value="Windward Web Parts"/>
    </File>
    <File Url="ScheduleViewer.webpart" Type="GhostableInLibrary" >
      <Property Name="Group" Value="Windward Web Parts"/>
    </File>
  </Module>
  <CustomAction Id="InstaRunPptx"
 Title="Insta-Run report to PPTX"
 Location="EditControlBlock"
 Description="Runs the report to a PPTX with default variable values"
 ImageUrl="/_layouts/1033/images/arrow/wrLogo.gif"
 RegistrationId="pptx"
 RegistrationType="FileType">
    <UrlAction Url="javascript:window.open('{SiteUrl}/_layouts/ConfigureReport.aspx?ITEMURL={ItemUrl}&amp;ITEMID={ItemId}&amp;LISTID={ListId}&amp;ACTION={INSTARUNPPTX}','','height=300,width=400,scrollbars=yes,resizable=yes');" />
  </CustomAction>
  <CustomAction Id="InstaRunXlsx"
 Title="Insta-Run report to XLSX"
 Location="EditControlBlock"
 Description="Runs the report to a XLSX with default variable values"
 ImageUrl="/_layouts/1033/images/arrow/wrLogo.gif"
 RegistrationId="xlsx"
 RegistrationType="FileType">
    <UrlAction Url="javascript:window.open('{SiteUrl}/_layouts/ConfigureReport.aspx?ITEMURL={ItemUrl}&amp;ITEMID={ItemId}&amp;LISTID={ListId}&amp;ACTION={INSTARUNXLSX}','','height=300,width=400,scrollbars=yes,resizable=yes');" />
  </CustomAction>
  <CustomAction Id="InstaRunDocx"
   Title="Insta-Run report to DOCX"
   Location="EditControlBlock"
   Description="Runs the report to a DOCX with default variable values"
   ImageUrl="/_layouts/1033/images/arrow/wrLogo.gif"
   RegistrationId="docx"
   RegistrationType="FileType">
    <UrlAction Url="javascript:window.open('{SiteUrl}/_layouts/ConfigureReport.aspx?ITEMURL={ItemUrl}&amp;ITEMID={ItemId}&amp;LISTID={ListId}&amp;ACTION={INSTARUNDOCX}','','height=300,width=400,scrollbars=yes,resizable=yes');" />
  </CustomAction>
  <CustomAction Id="InstaRun"
 Title="Insta-Run report to Office 2007 format"
 Location="EditControlBlock"
 Description="Runs the report to a Office 2007 format with default variable values"
 ImageUrl="/_layouts/1033/images/arrow/wrLogo.gif"
 RegistrationId="reportdef"
 RegistrationType="FileType">
    <UrlAction Url="javascript:window.open('{SiteUrl}/_layouts/ConfigureReport.aspx?ITEMURL={ItemUrl}&amp;ITEMID={ItemId}&amp;LISTID={ListId}&amp;ACTION={INSTARUN}','','height=300,width=400,scrollbars=yes,resizable=yes');" />
  </CustomAction>
  <CustomAction Id="InstaRunPdf"
 Title="Insta-Run report PDF"
 Location="EditControlBlock"
 Description="Runs the report to a PDF with default variable values"
 ImageUrl="/_layouts/1033/images/arrow/wrLogo.gif"
 RegistrationId="reportdef"
 RegistrationType="FileType">
    <UrlAction Url="javascript:window.open('{SiteUrl}/_layouts/ConfigureReport.aspx?ITEMURL={ItemUrl}&amp;ITEMID={ItemId}&amp;LISTID={ListId}&amp;ACTION={INSTARUNPDF}','','height=300,width=400,scrollbars=yes,resizable=yes');" />
  </CustomAction>
  <CustomAction Id="InstaRunPDFpptx"
 Title="Insta-Run report to PDF"
 Location="EditControlBlock"
 Description="Runs the report to a PDF with default variable values"
 ImageUrl="/_layouts/1033/images/arrow/wrLogo.gif"
 RegistrationId="pptx"
 RegistrationType="FileType">
    <UrlAction Url="javascript:window.open('{SiteUrl}/_layouts/ConfigureReport.aspx?ITEMURL={ItemUrl}&amp;ITEMID={ItemId}&amp;LISTID={ListId}&amp;ACTION={INSTARUNPDF}','','height=300,width=400,scrollbars=yes,resizable=yes');" />
  </CustomAction>
  <CustomAction Id="InstaRunPDFxlsx"
 Title="Insta-Run report to PDF"
 Location="EditControlBlock"
 Description="Runs the report to a PDF with default variable values"
 ImageUrl="/_layouts/1033/images/arrow/wrLogo.gif"
 RegistrationId="xlsx"
 RegistrationType="FileType">
    <UrlAction Url="javascript:window.open('{SiteUrl}/_layouts/ConfigureReport.aspx?ITEMURL={ItemUrl}&amp;ITEMID={ItemId}&amp;LISTID={ListId}&amp;ACTION={INSTARUNPDF}','','height=300,width=400,scrollbars=yes,resizable=yes');" />
  </CustomAction>
  <CustomAction Id="InstaRunPDFdocx"
   Title="Insta-Run report to PDF"
   Location="EditControlBlock"
   Description="Runs the report to a PDF with default variable values"
   ImageUrl="/_layouts/1033/images/arrow/wrLogo.gif"
   RegistrationId="docx"
   RegistrationType="FileType">
    <UrlAction Url="javascript:window.open('{SiteUrl}/_layouts/ConfigureReport.aspx?ITEMURL={ItemUrl}&amp;ITEMID={ItemId}&amp;LISTID={ListId}&amp;ACTION={INSTARUNPDF}','','height=300,width=400,scrollbars=yes,resizable=yes');" />
  </CustomAction>
  <CustomAction Id="ScheduleAReport"
   Title="Schedule a Report"
   Location="EditControlBlock"
   Description="Wizard for Scheduling Reports to be run automatically"
   ImageUrl="/_layouts/1033/images/arrow/wrLogo.gif"
   RegistrationId="101"
   RegistrationType="List">
    <UrlAction Url="javascript:window.open('{SiteUrl}/_layouts/ConfigureReport.aspx?ITEMURL={ItemUrl}&amp;ITEMID={ItemId}&amp;LISTID={ListId}&amp;ACTION={SCHEDULE}','','height=600,width=870,scrollbars=yes,resizable=yes');" />
  </CustomAction>
  <CustomAction Id="AssembleAReport"
   Title="Assemble a Report"
   Location="EditControlBlock"
   Description="Wizard for creating .ReportDef files which can be used to run reports instantly"
   ImageUrl="/_layouts/1033/images/arrow/wrLogo.gif"
   RegistrationId="101"
   RegistrationType="List">
    <UrlAction Url="javascript:window.open('{SiteUrl}/_layouts/ConfigureReport.aspx?ITEMURL={ItemUrl}&amp;ITEMID={ItemId}&amp;LISTID={ListId}&amp;ACTION={ASSEMBLE}','','height=660,width=870,scrollbars=yes,resizable=yes');" />
  </CustomAction>
  <CustomAction Id="ConfigureReport"
     Title="Run a Report"
     Location="EditControlBlock"
     Description="Configure a Windward Template to generate a Report"
     ImageUrl="/_layouts/1033/images/arrow/wrLogo.gif"
     RegistrationId="101"
     RegistrationType="List">
    <UrlAction Url="javascript:window.open('{SiteUrl}/_layouts/ConfigureReport.aspx?ITEMURL={ItemUrl}&amp;ITEMID={ItemId}&amp;LISTID={ListId}&amp;ACTION={CONFIGURE}','','height=660,width=870,scrollbars=yes,resizable=yes');" />
  </CustomAction>
  <CustomAction Id="ViewReportHTML"
     Title="View Report as HTML"
     Location="EditControlBlock"
     Description="Displays generated report using default values for variables"
     ImageUrl="/_layouts/1033/images/arrow/wrLogo.gif"
     RegistrationId="101"
     RegistrationType="List">
    <UrlAction Url="javascript:window.open('{SiteUrl}/_layouts/ConfigureReport.aspx?ITEMURL={ItemUrl}&amp;ITEMID={ItemId}&amp;LISTID={ListId}&amp;ACTION={HTML}');" />
  </CustomAction>
  <CustomAction Id="ViewReportPDF"
     Title="View Report as a PDF"
     Location="EditControlBlock"
     Description="Displays generated report using default values for variables"
     ImageUrl="/_layouts/1033/images/arrow/wrLogo.gif"
     RegistrationId="101"
     RegistrationType="List">
    <UrlAction Url="javascript:window.open('{SiteUrl}/_layouts/ConfigureReport.aspx?ITEMURL={ItemUrl}&amp;ITEMID={ItemId}&amp;LISTID={ListId}&amp;ACTION={PDF}','','height=900,width=850');" />
  </CustomAction>
</Elements>
